package com.wy;

import java.util.concurrent.TimeUnit;

/**
 * @author 美女
 * @date 2022/04/19 14:26
 **/
public class Main {
    public static void main(String[] args) throws InterruptedException {
        int i=1;
        while(true){
            System.out.println(i++);
            TimeUnit.SECONDS.sleep(1);
        }
    }
}
